home *** CD-ROM | disk | FTP | other *** search
- property psp_mysprite, pi_hoffset
-
- on beginSprite me
- psp_mysprite = sprite(me.spriteNum)
- end
-
- on exitFrame me
- psp_mysprite.locH = psp_mysprite.locH + ((the mouseH + pi_hoffset - psp_mysprite.locH) / 10.0)
- end
-
- on getPropertyDescriptionList me
- return [#pi_hoffset: [#comment: "pi_hoffset:", #format: #integer, #default: 10]]
- end
-